package com.easybuy.service;

import java.util.List;

import com.easybuy.entity.Goods;

public interface GoodsService {

	public void add(Goods goods);

	public List<Goods> getList(String name, int brandId, int typeId, int first,
			int maxResult);

	public int getCount(String name, int brandId, int typeId);

	public List<Goods> getHotGoods(int maxResult);

	public List<Goods> getTypeHotGoods(int typeId, int maxResult);

	public Goods getById(int id);
}
